package com.taurus;

import com.taurus.core.entity.TObject;
import com.taurus.core.routes.ActionKey;
import com.taurus.core.routes.IController;
import com.taurus.permanent.TPServer;
import com.taurus.permanent.data.Session;

public class T1Controller implements IController{

	@ActionKey("udp_test")
	public void udpTest(Session sender,TObject params) {
		System.out.println("udp_test");
		TPServer.me().getController().sendEvent("evt_test", params, sender,false);
	}
	
	@ActionKey("tcp_test")
	public void tcpTest(Session sender,TObject params) {
		System.out.println("tcp_test");
		TPServer.me().getController().sendEvent("evt_test", params, sender,false);
	}
}
